<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"/>
  <title>添加教材页面</title>
  <th:block th:insert="~{/head :: head}"></th:block>
</head>
<body>
<!-- Start: Header -->
<div th:insert="~{header::header}"></div>
<!-- End: Header -->

<!-- Start: Main -->
<div id="main">
  <!-- Start: Sidebar -->
  <div th:insert="~{admin/left::aside}"></div>
  <!-- End: Sidebar -->
  <!-- Start: Content -->
  <section id="content">
    <div id="topbar" class="affix">
      <ol class="breadcrumb">
        <li><a  th:href="@{/admin/teacher_add}"><span class="glyphicon glyphicon-home"></span></a></li>
        <li class="active">修改教材</li>
      </ol>
    </div>
    <div class="container">
      <div class="row">
        <div class="col-md-10 col-lg-11 center-column">
          <form action="#" th:action="@{/admin/textbook_update}" method="post" class="cmxform">
            <div class="panel">
              <div class="panel-heading">
                <div class="panel-title">修改教材</div>
                <div class="panel-btns pull-right margin-left">
                  <a href="#" th:href="@{/admin/textbook_all}" class="btn btn-default btn-gradient dropdown-toggle">
                    <span class="glyphicon glyphicon-chevron-left"></span>
                  </a>
                </div>
              </div>
              <div class="panel-body">
                <div class="col-md-7">
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">教材ID</span>
                      <input type="text" name="textbookId" th:value="${textbook.textbookId}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">课程名称</span>
                      <input type="text" name="courseName" th:value="${textbook.courseName}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">书名</span>
                      <input type="text" name="bookName" th:value="${textbook.bookName}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">作者</span>
                      <input type="text" name="author" th:value="${textbook.author}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">ISBN</span>
                      <input type="text" name="ISBN" th:value="${textbook.ISBN}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">价格</span>
                      <input type="text" name="price" th:value="${textbook.price}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">出版日期</span>
                      <input type="text" name="publishDate" th:value="${textbook.publishDate}" class="form-control">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="input-group">
                      <span class="input-group-addon">版本</span>
                      <input type="text" name="version" th:value="${textbook.version}" class="form-control">
                    </div>
                  </div>
                </div>

                <div class="col-md-7">
                  <div class="form-group">
                    <input type="submit" value="提交" class="submit btn btn-blue">
                  </div>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </section>

</div>
</body>
</html>